projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74d6ceb
)
(mode-line-mode-menu): Disable auto-revert-tail-mode
author
Nick Roberts
<nickrob@snap.net.nz>
Sat, 21 Oct 2006 23:42:21 +0000
(23:42 +0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Sat, 21 Oct 2006 23:42:21 +0000
(23:42 +0000)
indicator if not visiting a file.
lisp/bindings.el
patch
|
blob
|
history
diff --git
a/lisp/bindings.el
b/lisp/bindings.el
index d077e641ac1a76a9b9fd3b15e7eabeb7400c7388..a223596c351784a441e6a2163f9f6ee508c77dde 100644
(file)
--- a/
lisp/bindings.el
+++ b/
lisp/bindings.el
@@
-455,6
+455,7
@@
Menu of mode operations in the mode line.")
:button (:toggle . column-number-mode)))
(define-key mode-line-mode-menu [auto-revert-tail-mode]
`(menu-item ,(purecopy "Auto revert tail (Tail)") auto-revert-tail-mode
+ :enable (buffer-file-name)
:button (:toggle . (bound-and-true-p auto-revert-tail-mode))))
(define-key mode-line-mode-menu [auto-revert-mode]
`(menu-item ,(purecopy "Auto revert (ARev)") auto-revert-mode